/*

Author: Vishwajeet Dusane
*/

 class BisectionFormula
 {

 float caluclate(float a,float b)
   {
     float X0;

     X0=(a+b)/2;//Bisection Formula
     return X0;

   }
 }
 class RegulaFalsiFormula
 {

   float calculate(float a,float b,float a0,float b0)
   {
     float x1;

     x1=((a*b0)-(b*a0))/(b0-a0);
     return x1

   }


 }

  class NewtonRaphsonFormula
  {

   float calculate(float x0,float a0,flaot a_0)
   {
      float x1;

      x1=x0-(a0-a_0);

      return x1;
    }

  }



  class RootsOfEquation
  {
  public:
     float a,b,a0,b0,a_0;



  }